package com.javen.dao;

import java.util.List;

import com.javen.model.Seller;

/**
 * @author 悟笙
 *
 * 2018年5月21日
 */
public interface SellerMapper {
	
    /**
     * 获取所有的商家
     * @return List<Seller>
     */
    List<Seller> selectAll();
    
    /**
     * 通过id获取商家
     * @param sellerId
     * @return Seller
     */
    Seller selectByPrimaryKey(Integer sellerId);
	
    int deleteByPrimaryKey(Integer sellerId);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table seller
     *
     * @mbggenerated Mon May 21 10:22:02 CST 2018
     */
    int insert(Seller record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table seller
     *
     * @mbggenerated Mon May 21 10:22:02 CST 2018
     */
    int insertSelective(Seller record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table seller
     *
     * @mbggenerated Mon May 21 10:22:02 CST 2018
     */
    

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table seller
     *
     * @mbggenerated Mon May 21 10:22:02 CST 2018
     */
    int updateByPrimaryKeySelective(Seller record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table seller
     *
     * @mbggenerated Mon May 21 10:22:02 CST 2018
     */
    int updateByPrimaryKey(Seller record);
}